package com.example.online_order.service;

import com.example.online_order.pojo.AdminAccount;
import com.example.online_order.pojo.Desk;
import com.example.online_order.pojo.Shoppingcar;

import java.util.List;

public interface ShoppingcarService {
    public List<Shoppingcar> getAllProducts();
    public Shoppingcar getProductById(Integer id);
    public Integer addToCar(Shoppingcar product);
    public Integer deleteProduct(Integer id);
    public Integer updatePrice(Integer id,String price);
    public Integer updateQuantity(Integer id,String num);
}
